'''
Created on 2013-11-18

@author: Nich
'''
class CommandExecutor(object):
    
    def __init__(self, messanger):
        self.messanger = messanger
    
    def execute(self, command_package):
        command, args = command_package
        command(messanger = self.messanger, command_args = args)